package cn.xdmnb.cloud.blog.plugin.redis.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author yukai
 * @since 2023年01月05日 14:05
 */
@Data
@ConfigurationProperties(prefix = "spring.redis")
class RedisProperties {

    private String host = "127.0.0.1";

    private int port = 6379;

    private String password;

    private int timeout;

    private int maxIdle;

    private long maxWait;

    private int database;

}
